﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ComunesMGI.DataTypes;
using MGI.AccesoDatos.AccesoBD;

namespace MGI.AccesoDatos
{
    class DAOWorkPackages: IDatosWorkPackages
    {
        #region IDatosWorkPackages Members

        public bool addWorkPackage(DataSistema sistema, DataWP workPackage)
        {
            BDWorkPackages bdWP = new BDWorkPackages();
            return bdWP.addWorkPackage(sistema, workPackage);

        }

        public List<DataWP> getWorkPackages(DataSistema sistema)
        {
            BDWorkPackages bdWP = new BDWorkPackages();
            return bdWP.getWorkPackages(sistema);
        }

        #endregion
    }
}
